﻿
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />

    <script src="../../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../../Scripts/config.js"></script>
    <script type="text/javascript" src="../../../Comm/Gener.js"></script>
    <script src="DDLBar.js" type="text/javascript"></script>
    <script src="../../CCFlowEnum.js" type="text/javascript"></script>
    <script src="../../../Scripts/EasyUIUtility.js" type="text/javascript"></script>
    <script type="text/javascript">
        //页面初始化
        $(function () {

            InitBar(SelectorModel.Url);
            var nodeID = GetQueryString("FK_Node");
            var node = new Entity("BP.WF.Template.Selector", nodeID);

            if (node.SelectorP1.indexOf('SELECT ') != -1)
                node.SelectorP1 = "";


            GenerFullAllCtrlsVal(node);

        });


        function Save() {
            var nodeID = GetQueryString("FK_Node");
            var node = new Entity("BP.WF.Template.Selector", nodeID);
            node.SelectorModel = SelectorModel.Url;
            node.CopyForm();
            node.Update();

            alert("保存成功.");
        }
    </script>
</head>
<body>

    <div id="bar"> </div>
    <form id="cc">
        <fieldset>
            <legend>输入自定义URL</legend>
            <textarea id="TB_SelectorP1" name="TB_SelectorP1" style="width:95%;height:50px"></textarea>
        </fieldset>

        <fieldset>
            <legend id="help">说明</legend>
            <ul>
                <li>您可以自己写一个接受人选择器的页面，然后把它嵌入里面去.</li>
                <li>在用户发送的时候，系统弹出的是您的页面.</li>
                <li>系统会在您自定义的url后面追加WorkID,FK_Flow,FK_Node等参数.</li>

                <!--<li ><a href="javascript:LoadTemplate();" >我要从模版里选择一个设置.</a></li>-->
            </ul>
        </fieldset>

    </form>


</body>
</html>
